package com.hanserwei.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hanserwei.community.entity.po.MeterCategory;
import com.hanserwei.community.entity.request.meter.MeterCategorySaveRequest;
import java.util.List;

public interface MeterCategoryService extends IService<MeterCategory> {

    boolean createCategory(MeterCategorySaveRequest request);

    boolean updateCategory(Integer id, MeterCategorySaveRequest request);

    List<MeterCategory> listAll();
}
